package com.ruoyi.drive.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "driver")
public class Driver implements Serializable {
    @TableId(value = "driver_id", type = IdType.AUTO)
    private Integer driverId;

    @TableField(value = "username")
    private String username;

    @TableField(value = "`password`")
    private String password;

    @TableField(value = "`name`")
    private String name;

    @TableField(value = "phone")
    private String phone;

    @TableField(value = "license_number")
    private String licenseNumber;

    @TableField(value = "`status`")
    private Byte status;

    private static final long serialVersionUID = 1L;
}